1
00:00:01,270 --> 00:00:05,920
All right so second to last video here in our Olympic series.

2
00:00:05,920 --> 00:00:09,390
And this one is a very important one.

3
00:00:09,460 --> 00:00:17,410
So we're going to cover a few things I want to cover how to install files how to install updates and

4
00:00:17,410 --> 00:00:20,200
how to get files from GitHub.

5
00:00:20,290 --> 00:00:24,550
All these are going to be very important in things that you're going to encounter as a pen tester all

6
00:00:24,550 --> 00:00:25,600
the time.

7
00:00:25,600 --> 00:00:31,270
So from a Linux perspective let's say that you want to update your system and you're in the terminal.

8
00:00:31,330 --> 00:00:40,690
Well you can do is you can say something along the lines of APT update and we'll say also apt upgrade

9
00:00:40,690 --> 00:00:42,430
when you're done with that.

10
00:00:42,430 --> 00:00:47,590
So what this is going to do is this is going to go out and you can see these archives that Linux.

11
00:00:47,590 --> 00:00:51,950
I'll scroll back up here and all these tools need to be installed.

12
00:00:51,960 --> 00:00:55,890
But this archive of Linux that you use this is what's called a repository.

13
00:00:56,160 --> 00:01:01,110
So we're going out to these repositories and we're saying hey what's been updated lately and what do

14
00:01:01,110 --> 00:01:02,380
we need to download.

15
00:01:02,490 --> 00:01:06,880
And you can see OK these packages that are automatic and saw no longer required.

16
00:01:06,990 --> 00:01:12,010
We can auto remove them if we need to and then we have all these new packages that need to be installed.

17
00:01:12,120 --> 00:01:14,160
If you look through the list it's quite a bit.

18
00:01:14,400 --> 00:01:20,530
And then we've got the packages that will also be upgraded through here as well so we have all these

19
00:01:20,530 --> 00:01:26,530
updates upgrades et cetera if we want to perform this it's going to take up a hundred and seventy one

20
00:01:26,530 --> 00:01:32,800
megabytes of additional disk space and it will probably take a little bit of time to download upgrade

21
00:01:32,900 --> 00:01:33,420
etc..

22
00:01:33,430 --> 00:01:37,420
So if you want to do this go ahead and push your update you actually don't have to to be successful

23
00:01:37,420 --> 00:01:38,220
in the course.

24
00:01:38,440 --> 00:01:43,330
But just to provide clarification in understanding of how it's done and what it's doing.

25
00:01:43,330 --> 00:01:45,600
Just wanted to point that out.

26
00:01:45,910 --> 00:01:49,540
Now let's say we just wanted a tool a specific tool.

27
00:01:49,540 --> 00:01:51,180
You see all these things in here.

28
00:01:51,190 --> 00:01:57,670
A lot of them are related like python which is interesting because I do want to install a python tool.

29
00:01:57,820 --> 00:02:00,690
So let's install a tool called Pip.

30
00:02:00,730 --> 00:02:07,090
So what we're gonna do is we're going to say at install and then the tool is called Pip.

31
00:02:07,120 --> 00:02:09,670
But it is Python dash Pip like this.

32
00:02:09,690 --> 00:02:13,630
So type that in Hit enter instead of go check for it.

33
00:02:13,760 --> 00:02:14,660
It's going to look for it.

34
00:02:14,720 --> 00:02:16,880
And it found it which is great.

35
00:02:16,880 --> 00:02:22,340
If it weren't to find it it would say something a little different we can show you say hit some numbers

36
00:02:22,340 --> 00:02:24,940
in there say unable to locate that package.

37
00:02:24,950 --> 00:02:28,970
So you'll know you're on the right track with the package name here.

38
00:02:29,000 --> 00:02:32,000
So I'm going to go ahead and actually hit yes to install this.

39
00:02:32,030 --> 00:02:36,950
It's going to go out and download everything we need for Pip and you're gonna see why Pip is important

40
00:02:36,950 --> 00:02:37,680
here.

41
00:02:37,700 --> 00:02:39,700
So there is Pip Pip three.

42
00:02:39,710 --> 00:02:48,920
Now both of those go out and do some installs for us and we're gonna go ahead and just say yes and those

43
00:02:48,920 --> 00:02:53,630
installs are related to Python so we're gonna use a lot of tools in this course that are related to

44
00:02:53,630 --> 00:03:02,720
Python and it's going to install those tools for us so Pip is 4 for Python Pip 3 is for Python 3.

45
00:03:02,720 --> 00:03:10,820
Now Python 3 is the latest and greatest Python 2 is actually being deprecated in 2020 or end of service

46
00:03:10,820 --> 00:03:12,050
in 2020.

47
00:03:12,050 --> 00:03:14,740
So a lot of things are actually moving away from that now.

48
00:03:14,780 --> 00:03:18,980
So when we get into the python section of the course we're actually going to be working completely in

49
00:03:18,980 --> 00:03:22,730
Python 3 for this reason solely.

50
00:03:22,820 --> 00:03:29,120
So while we wait for this let's go ahead and go out to the inter webs and I'm just going to applications

51
00:03:29,120 --> 00:03:38,180
up here and then Firefox terminal and what we're gonna do is we're gonna go to Google and I want to

52
00:03:38,180 --> 00:03:39,490
look for something on github.

53
00:03:39,500 --> 00:03:44,690
So I want you to look for get hub and then just type in impact.

54
00:03:45,120 --> 00:03:50,600
Now impact is a toolkit that we're gonna be using when we get to the exploitation part of this course.

55
00:03:50,600 --> 00:03:55,220
But it's going to be a good tool that we're going need to install anyway so why not go ahead and take

56
00:03:55,220 --> 00:03:56,710
care of it while we're here.

57
00:03:56,780 --> 00:04:04,930
So we're gonna do is we're going to click on this secure off Corp here and we're going to do this clones

58
00:04:04,940 --> 00:04:15,060
service a clone or download right here we're going to just copy this and now in our our terminal what

59
00:04:15,060 --> 00:04:19,470
we're gonna do is we're gonna see these and I like to put all my installs and this is very common for

60
00:04:19,470 --> 00:04:22,570
Linux in my opt folder.

61
00:04:23,250 --> 00:04:24,170
And here's what we're gonna do.

62
00:04:24,180 --> 00:04:28,850
We're gonna say get clone and we're going to paste this here.

63
00:04:29,010 --> 00:04:32,870
So get is just downloading from GitHub.

64
00:04:32,920 --> 00:04:38,900
We're cloning this this repository and we're going to go ahead and just hit enter.

65
00:04:39,010 --> 00:04:41,260
And now if we C.D. into the name of it.

66
00:04:41,290 --> 00:04:43,760
So here it is in packet.

67
00:04:43,770 --> 00:04:47,520
We're just gonna say C.D. and packet OK.

68
00:04:47,530 --> 00:04:55,090
And a lot of times with Pip what you have to do with Pip with with the Get cloning you have to go in

69
00:04:55,090 --> 00:04:58,090
actually look at the get hub page to see how to install it.

70
00:04:58,120 --> 00:05:04,180
So if we scroll down it says grab the latest stable version unpack it which we did and then run pip

71
00:05:04,570 --> 00:05:09,370
install period from the director replaced it isn't that easy.

72
00:05:09,400 --> 00:05:09,870
Yes.

73
00:05:09,880 --> 00:05:18,540
So what we're gonna do is full screen this and we're just going to say it install period and it's to

74
00:05:18,540 --> 00:05:24,040
go out and download all the things that we need for Python related to this program.

75
00:05:24,210 --> 00:05:29,380
And now it should be install the quick way to check off its install there's one tools called yes exact

76
00:05:29,390 --> 00:05:29,900
pie.

77
00:05:29,910 --> 00:05:35,550
You can just P.S. exact sir typing that hit tab and it should auto tab complete for that.

78
00:05:35,550 --> 00:05:43,190
So that will allow you to have this installed so this showed you really briefly three ways to do installs.

79
00:05:43,200 --> 00:05:50,110
One is the way of using updates and upgrades to download everything at once that you need to update.

80
00:05:50,280 --> 00:05:55,290
The other one is to say app to install and actually just install a specific package that you need.

81
00:05:55,290 --> 00:06:00,730
So in this case we installed Pip because we actually were going to need Pip anyway to install impact.

82
00:06:00,990 --> 00:06:06,420
So the third way the third most common way is to download something off of get hub.

83
00:06:06,780 --> 00:06:13,080
And we just use get clone cloned that down and then we went in follow the instructions for the install.

84
00:06:13,080 --> 00:06:18,390
In this case it was pip install period and now we have our tool installed and ready to go.

85
00:06:18,390 --> 00:06:24,300
So a lot of times you're gonna have to download tools off of get hub or things that are just not by

86
00:06:24,300 --> 00:06:25,800
standard or by default.

87
00:06:25,800 --> 00:06:28,830
Come with Cally that you're going to have to go out there and find.

88
00:06:28,830 --> 00:06:34,040
So this impact tool kit for example does come with Cally but I don't like the one that comes with Cally

89
00:06:34,040 --> 00:06:35,420
it's always unstable for me.

90
00:06:35,430 --> 00:06:40,260
So I like to go out and I like to get the latest stable version off of GitHub and install this and it

91
00:06:40,260 --> 00:06:41,610
works really well.

92
00:06:41,730 --> 00:06:45,260
And this is some of my methodology than passing on to you.

93
00:06:45,300 --> 00:06:49,890
So hopefully this makes sense and this will give you an idea of how to install these packages or how

94
00:06:49,890 --> 00:06:52,410
to make updates or how to get something off GitHub.

95
00:06:52,440 --> 00:06:57,210
So in the next video we're going to go ahead and cover some bash scripting get into a little bit of

96
00:06:57,210 --> 00:07:01,010
that and have some fun and then we'll be moving on to Python and learn even a little bit more scripting.

97
00:07:01,020 --> 00:07:03,060
So I will get you over in the next video.
